package com.easy.web.service;

import com.easy.web.model.Teacher;

import java.util.List;

/**
 * Created by wang0 on 2017/8/24.
 */
public interface TeacherService {


    /**
     * 查询老师列表
     */

    List<Teacher> getTeacherList();


    /**
     * 新增老师
     *
     */

    List<Teacher> addTeacher(Teacher teacher);


    /**
     * 删除一个老师
     */
    List<Teacher> delTeacher(String id);

    /**
     * 更新老师信息
     */
    List<Teacher> updateTeacher(Teacher teacher);

    /**
     * 根据id查询老师
     */
    Teacher queryTeacherById(String id);
}
